package com.ruoyi.tsjData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-偏摆测试对象 data_tshj_pb
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-偏摆测试对象")
public class DataTshjPb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 偏摆测试ID */
    private Long pbId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 0左偏摆、1右偏摆、2左右偏摆 */
    @Excel(name = "0左偏摆、1右偏摆、2左右偏摆")
    @ApiModelProperty(value = "0左偏摆、1右偏摆、2左右偏摆")
    private String cshType;

    /** 左偏摆度 */
    @Excel(name = "左偏摆度")
    @ApiModelProperty(value = "左偏摆度")
    private String pianbdLeft;

    /** 右偏摆度 */
    @Excel(name = "右偏摆度")
    @ApiModelProperty(value = "右偏摆度")
    private String pianbdRight;

    /** 运行时间 */
    @Excel(name = "运行时间")
    @ApiModelProperty(value = "运行时间")
    private String yxshj;

    /** JSON-左偏摆度数值List */
    @Excel(name = "JSON-左偏摆度数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "左偏摆度数值List")
    private String pdLeftList;

    /** JSON-右偏摆度数值List */
    @Excel(name = "JSON-右偏摆度数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "右偏摆度数值List")
    private String pdRightList;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 左偏摆 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO pbLeftChartLineDTO;

    /** 右偏摆 */
    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO pbRightChartLineDTO;

    public void setPbId(Long pbId) 
    {
        this.pbId = pbId;
    }

    public Long getPbId() 
    {
        return pbId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setCshType(String cshType) 
    {
        this.cshType = cshType;
    }

    public String getCshType() 
    {
        return cshType;
    }
    public void setPianbdLeft(String pianbdLeft) 
    {
        this.pianbdLeft = pianbdLeft;
    }

    public String getPianbdLeft() 
    {
        return pianbdLeft;
    }
    public void setPianbdRight(String pianbdRight) 
    {
        this.pianbdRight = pianbdRight;
    }

    public String getPianbdRight() 
    {
        return pianbdRight;
    }
    public void setYxshj(String yxshj) 
    {
        this.yxshj = yxshj;
    }

    public String getYxshj() 
    {
        return yxshj;
    }
    public void setPdLeftList(String pdLeftList)
    {
        this.pdLeftList = pdLeftList;
    }

    public String getPdLeftList()
    {
        return pdLeftList;
    }
    public void setPdRightList(String pdRightList)
    {
        this.pdRightList = pdRightList;
    }

    public String getPdRightlist() 
    {
        return pdRightList;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getPbLeftChartLineDTO() {
        return pbLeftChartLineDTO;
    }

    public void setPbLeftChartLineDTO(ChartLineDTO pbLeftChartLineDTO) {
        this.pbLeftChartLineDTO = pbLeftChartLineDTO;
    }

    public ChartLineDTO getPbRightChartLineDTO() {
        return pbRightChartLineDTO;
    }

    public void setPbRightChartLineDTO(ChartLineDTO pbRightChartLineDTO) {
        this.pbRightChartLineDTO = pbRightChartLineDTO;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pbId", getPbId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("cshType", getCshType())
            .append("pianbdLeft", getPianbdLeft())
            .append("pianbdRight", getPianbdRight())
            .append("yxshj", getYxshj())
            .append("pdLeftlist", getPdLeftList())
            .append("pdRightlist", getPdRightlist())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
